package com.fast.entity;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 菜单权限表(Menu)表实体类
 *
 * @author hjw
 * @since 2021-12-02 23:41:52
 */
@Data
@TableName("sys_menu")
@ApiModel(value="Menu",description="菜单权限表实体类")
public class Menu extends Model<Menu> implements Serializable {

                        
    @TableId(type=IdType.ID_WORKER)
    @ApiModelProperty(name = "menuId", value = "菜单ID")
    private Long menuId;
                        
    @ApiModelProperty(name = "menuName", value = "菜单名称")
    private String menuName;
                        
    @ApiModelProperty(name = "parentId", value = "父菜单ID")
    private Long parentId;
                        
    @ApiModelProperty(name = "orderNum", value = "显示顺序")
    private Integer orderNum;
                        
    @ApiModelProperty(name = "path", value = "路由地址")
    private String path;
                        
    @ApiModelProperty(name = "component", value = "组件路径")
    private String component;
                        
    @ApiModelProperty(name = "query", value = "路由参数")
    private String query;
                        
    @ApiModelProperty(name = "isFrame", value = "是否为外链（0是 1否）")
    private Integer isFrame;
                        
    @ApiModelProperty(name = "isCache", value = "是否缓存（0缓存 1不缓存）")
    private Integer isCache;
                        
    @ApiModelProperty(name = "menuType", value = "菜单类型（M目录 C菜单 F按钮）")
    private String menuType;
                        
    @ApiModelProperty(name = "visible", value = "菜单状态（0显示 1隐藏）")
    private String visible;
                        
    @ApiModelProperty(name = "status", value = "菜单状态（0正常 1停用）")
    private String status;
                        
    @ApiModelProperty(name = "perms", value = "权限标识")
    private String perms;
                        
    @ApiModelProperty(name = "icon", value = "菜单图标")
    private String icon;
                        
    @ApiModelProperty(name = "createBy", value = "创建者",hidden=true)
    private String createBy;
                        
    @ApiModelProperty(name = "createTime", value = "创建时间",hidden=true)
    private LocalDateTime createTime;
                        
    @ApiModelProperty(name = "updateBy", value = "更新者",hidden=true)
    private String updateBy;
                        
    @ApiModelProperty(name = "updateTime", value = "更新时间",hidden=true)
    private LocalDateTime updateTime;
                        
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
    
    private static final long serialVersionUID = -45225099907406504L;
}